package ar.edu.unq.tpi.uis.tepe3.dominio;

import java.util.Set;


public abstract class PrivType {
	
	private Long id;
	private String name;
	
	public PrivType() {
		super();
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	protected void setName(String privName) {
		this.name = privName;
	}

	public Set<Folder> read(Folder aFolder) {
		return aFolder.getDaughters();
	}
	
	public String toString(){
		return this.getName();
	}
}
